const Tools = {
    exportJson(name, data){
        let blob = new Blob([data]); //  创建 blob 对象
        let link = document.createElement("a");
        link.href = URL.createObjectURL(blob)
        link.download = name
        link.click()
    }
}
export default Tools